using System;

namespace Patterns.Validation.Advanced
{
	/// <summary>
	/// Specifies the set of recognized <see cref="TimeSpan"/>-based comparison conditions.
	/// </summary>
	public enum TimeSpanCondition
	{
		/// <summary>
		/// The first <c>TimeSpan</c> covers more time than the second <c>TimeSpan</c>.
		/// </summary>
		MoreThan,

		/// <summary>
		/// The first <c>TimeSpan</c> covers at least as much time as the second <c>TimeSpan</c>.
		/// </summary>
		AtLeast,

		/// <summary>
		/// The first <c>TimeSpan</c> covers exactly as much time as the second <c>TimeSpan</c>.
		/// </summary>
		Exactly,

		/// <summary>
		/// The first <c>TimeSpan</c> covers at most as much time as the second <c>TimeSpan</c>.
		/// </summary>
		AtMost,

		/// <summary>
		/// The first <c>TimeSpan</c> covers less time than the second <c>TimeSpan</c>.
		/// </summary>
		LessThan
	}
}